# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1312028343.043931
_template_filename='/home/pylonsapp/readthematrix/trunk/portal/portal/templates/auth/login.mako'
_template_uri='/auth/login.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = ['title']


def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]
def _mako_generate_namespaces(context):
    pass
def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'/index.mako', _template_uri)
def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        c = context.get('c', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1
        __M_writer(u'\n')
        # SOURCE LINE 2
        __M_writer(u'\n<script>var page = \'\';</script>\n<div id="login-content" align="center">\n')
        # SOURCE LINE 5
        if c.login_error_msg:
            # SOURCE LINE 6
            __M_writer(u'\t<div id="login-form-error-box">')
            __M_writer(escape(c.login_error_msg))
            __M_writer(u'</div>\n')
            pass
        # SOURCE LINE 8
        __M_writer(u'\t<span id="login-form-title">Readthematrix.com - Connection</span>\n\t<form id="login-form" method="POST" action="/auth/submit">\n\t\t<p>\n\t\t\temail: <input type="text" name="email" id="email" />\n\t\t\t<div class="clearb"></div>\n\t\t</p>\n\t\t<p>\n\t\t\tpassword: <input type="password" name="password" id="passwoes" />\n\t\t\t<div class="clearb"></div>\n\t\t</p>\n\t\t<input type="submit" value="Login" />\n\t</form>\n</div>')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_title(context):
    context.caller_stack._push_frame()
    try:
        __M_writer = context.writer()
        # SOURCE LINE 2
        __M_writer(u'Home - Welcome')
        return ''
    finally:
        context.caller_stack._pop_frame()


